package com.cd826dong.clouddemo.api;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/product")
public class ProductEndPoint {

	@RequestMapping(value = "/{id}/comments", method = RequestMethod.GET)
	public String comment(@PathVariable String id) {
		return "product," + id + ",comments";
	}
}
